package com.joinway.extension.socket.handler;

import org.apache.mina.core.session.IoSession;

public interface IMessageProcessor<T> {

	void onReceived(IoSession session, T frame);
	
	void onError(IoSession session, Throwable cause);
	
}
